package com.situ.blog.service;

import com.situ.blog.pojo.Blog;
import com.situ.blog.pojo.query.BlogQuery;
import com.situ.blog.pojo.vo.BlogVO;
import com.situ.blog.util.PageResult;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface IBlogService {
    PageResult<BlogVO> selectByPage(BlogQuery blogQuery);

    void add(Blog blog);

    Blog selectById(int id);

    void update(Blog blog);

    void exportExcel(HttpServletResponse resp);

    void importExcel(HttpServletRequest req);
}
